package cn.wolfcode.ssm.service;

import java.util.List;

import cn.wolfcode.ssm.domain.Department;
import cn.wolfcode.ssm.query.PageResult;
import cn.wolfcode.ssm.query.QueryObject;

public interface IDepartmentService {

	void save(Department entity);

	void update(Department entity);

	void delete(Long id);

	Department get(Long id);

	List<Department> list();

	/**
	 * 高级查询
	 * 
	 * @param qo
	 * @return
	 */
	PageResult query(QueryObject qo);
}
